package com.ewzj.bigdata.mvp.model.rspbean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * author:zhangjing
 * 作用:
 * return:
 */

public class DecPicBean {


    /**
     * id : 2
     * title : 混搭风格蓝色雅致餐厅图片
     * tags :
     * thumb : http://pic1.to8to.com/smallcase/1702/15/20170215_33277efd98611a5288a9on2udgbagrkk_s.jpg
     * pics : [{"title":"混搭风格蓝色雅致餐厅图片","thumb":"http://pic1.to8to.com/smallcase/1702/15/20170215_33277efd98611a5288a9on2udgbagrkk_s.jpg","bigimg":"http://pic1.to8to.com/case/1702/15/20170215_33277efd98611a5288a9on2udgl1grkk_sp.jpg"},{"title":"混搭风格蓝色雅致玄关图片","thumb":"http://pic2.to8to.com/smallcase/1702/15/20170215_c7cbfaf89f5be1932e46dtth83b1ztk7_s.jpg","bigimg":"http://pic2.to8to.com/case/1702/15/20170215_c7cbfaf89f5be1932e46dtth83l1ztk7_sp.jpg"},{"title":"混搭风格蓝色雅致卧室图片","thumb":"http://pic1.to8to.com/smallcase/1702/15/20170215_dafd9b8584afe23d0133zqwdnk1ddofr_s.jpg","bigimg":"http://pic1.to8to.com/case/1702/15/20170215_dafd9b8584afe23d0133zqwdnkl1dofr_sp.jpg"},{"title":"混搭风格蓝色雅致厨房图片","thumb":"http://pic2.to8to.com/smallcase/1702/15/20170215_00fcb943b84474b8d8d33h8a6m80aw46_s.jpg","bigimg":"http://pic2.to8to.com/case/1702/15/20170215_00fcb943b84474b8d8d33h8a6ml1aw46_sp.jpg"},{"title":"混搭风格蓝色雅致主卧室图片","thumb":"http://pic2.to8to.com/smallcase/1702/15/20170215_9ff49817cda441e5737bu9f6niqnrwzg_s.jpg","bigimg":"http://pic2.to8to.com/case/1702/15/20170215_9ff49817cda441e5737bu9f6nil1rwzg_sp.jpg"},{"title":"混搭风格蓝色雅致二居室图片","thumb":"http://pic2.to8to.com/smallcase/1702/15/20170215_c492e2454841a87dd427c36ht78tlq9d_s.jpg","bigimg":"http://pic2.to8to.com/case/1702/15/20170215_c492e2454841a87dd427c36ht7l1lq9d_sp.jpg"}]
     * num : 6
     */

    private String id;
    private String title;
    private String tags;
    private String thumb;
    private String num;
    private String sources;

    public String getSources() {
        return sources;
    }

    public void setSources(String sources) {
        this.sources = sources;
    }

    private List<PicsEntity> pics;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public List<PicsEntity> getPics() {
        return pics;
    }

    public void setPics(List<PicsEntity> pics) {
        this.pics = pics;
    }

    public static class PicsEntity implements Parcelable {
        /**
         * title : 混搭风格蓝色雅致餐厅图片
         * thumb : http://pic1.to8to.com/smallcase/1702/15/20170215_33277efd98611a5288a9on2udgbagrkk_s.jpg
         * bigimg : http://pic1.to8to.com/case/1702/15/20170215_33277efd98611a5288a9on2udgl1grkk_sp.jpg
         */

        private String title;
        private String thumb;
        private String bigimg;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getBigimg() {
            return bigimg;
        }

        public void setBigimg(String bigimg) {
            this.bigimg = bigimg;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(this.title);
            dest.writeString(this.thumb);
            dest.writeString(this.bigimg);
        }

        public PicsEntity() {
        }

        protected PicsEntity(Parcel in) {
            this.title = in.readString();
            this.thumb = in.readString();
            this.bigimg = in.readString();
        }

        public static final Parcelable.Creator<PicsEntity> CREATOR = new Parcelable.Creator<PicsEntity>() {
            @Override
            public PicsEntity createFromParcel(Parcel source) {
                return new PicsEntity(source);
            }

            @Override
            public PicsEntity[] newArray(int size) {
                return new PicsEntity[size];
            }
        };
    }
}
